package com.axx.android.home.model;

import com.chad.library.adapter.base.entity.MultiItemEntity;

/**
 * Created by Administrator on 2017/8/5 0005.
 */

public class SearchWrapper implements MultiItemEntity {
    public static final int HEADER = 1;
    public static final int USER = 2;
    public static final int LETTER = 3;

    private SearchResult.UserListBean userListBean;
    private String title;
    private SearchResult.LetterListBean letterListBean;

    public SearchResult.LetterListBean getLetterListBean() {
        return letterListBean;
    }

    public void setLetterListBean(SearchResult.LetterListBean letterListBean) {
        this.letterListBean = letterListBean;
    }

    public SearchResult.UserListBean getUserListBean() {
        return userListBean;
    }

    public void setUserListBean(SearchResult.UserListBean userListBean) {
        this.userListBean = userListBean;
    }

    private int type;

    @Override
    public int getItemType() {
        return this.type;
    }

    public SearchWrapper(int type) {
        this.type = type;
    }

    public String getTitle() {
        return title;
    }

    public void setTitle(String title) {
        this.title = title;
    }
}
